package com.flesler.stickjoy.net.reader
{
	import com.flesler.stickjoy.net.token.ControllerToken;
	
	import flash.events.Event;
	
	public final class InputReaderEvent extends Event
	{
		public static const INPUT:String = 'input';
		
		private var _token:ControllerToken;
		
		public function InputReaderEvent(type:String, token:ControllerToken)
		{
			super(type);
			
			_token = token;
		}
		
		public function get token():ControllerToken
		{
			return _token;
		}

		override public function clone():Event
		{
			return new InputReaderEvent(type, token);
		}
	}
}